package com.totem.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_wallets")
public class TWallets extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="customer_id", type= IdType.INPUT)
    private Long customerId;
    @TableField(value="addr")
    private String addr;
    @TableField(value="usdt")
    private BigDecimal usdt;
    @TableField(value="usdo")
    private BigDecimal usdo;
    @TableField(value="fund")
    private BigDecimal fund;
    @TableField(value="fund_acc_return")
    private BigDecimal fundAccReturn;
    @TableField(value="remark")
    private String remark;
}
